#ifndef IMAGEENCODE_H
#define IMAGEENCODE_H

#include <QObject>
#include <QByteArray>
#include <QImage>
#include <QBuffer>
#include <QTextCodec>
class imageEncode : public QObject
{
    Q_OBJECT
public:
    explicit imageEncode(QObject *parent = nullptr);
    static QByteArray imageTobase64(QString filename);//传输过去都是用字节数组
signals:

};

#endif // IMAGEENCODE_H
